import requests

header={
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36',
    'host':'www.zhihu.com',
    'referer':'https://www.zhihu.com/signin'
}
aa = requests.session().post('https://www.zhihu.com',headers=header)
print ('content', aa.content)

# import requests

# response = requests.get("http://www.baidu.com")
# print ('headers', response.headers)
# print ('content', response.content)